projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a3c987
)
(python-indent): Add safe-local-variable prop.
author
Richard M. Stallman
<rms@gnu.org>
Mon, 4 Dec 2006 00:32:33 +0000
(
00:32
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Mon, 4 Dec 2006 00:32:33 +0000
(
00:32
+0000)
lisp/progmodes/python.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/python.el
b/lisp/progmodes/python.el
index 24e9f65f180d7bb4d446d1749801a746b5c68f05..7a62cfa477c84e35238d0c4d5814857c85cd83fc 100644
(file)
--- a/
lisp/progmodes/python.el
+++ b/
lisp/progmodes/python.el
@@
-408,6
+408,7
@@
The criteria are that the line isn't a comment or in string and
See also `\\[python-guess-indent]'"
:group 'python
:type 'integer)
+(put 'python-indent 'safe-local-variable 'integerp)
(defcustom python-guess-indent t
"Non-nil means Python mode guesses `python-indent' for the buffer."